You can assess the overall quality of an application by referring to its compliance score. A compliance score provides an executive-level summary of whether your application is guardrail-compliant, and you can improve your compliance score by reducing the number of warnings in your application.
Compliance scores can range from 0 to 100, with 100 representing the highest possible score:
A score of 90 or greater indicates your application is in good standing.
A score of 80 to 89 indicates your application needs review for improvement.
A score below 80 requires immediate action.
To generate a compliance score, the Pega Platform calculates a weighted numerator based on the number of severe and moderate warnings in the application. Then, the system makes a comparison against the remaining number of rules in the application that have caution-level or no warnings. The result is converted to a percentage, protecting against any negative values, as outlined in the following formula:
The variables in this formula are interpreted as follows:
Sev1u – The number of unjustified, severe (severity level 1) warnings in the application.
Sev2u – The number of unjustified, moderate (severity level 2) warnings in the application.
Sev1j – The number of justified, severe (severity level 1) warnings in the application.
Sev2j – The number of justified, moderate (severity level 2) warnings in the application.
Total Remaining Rules – The sum of rules with caution (severity level 3) warnings and rules with no warnings in the application. This value excludes property rules and rules that reside in a Pega-* ruleset.